/* 你会发现很多莫名其妙的设定，
因为之前flex高度塌陷，
我做了很多没什么用的功夫，
后来找到方法修复了懒得删减了 */
/* 图片hover效果 */
.guess-love-things a:hover,
#cz-interesting a:hover,
.dianqi-content a:hover,
.dianqi-others a:hover {
    position: relative;
    left: 5px;
    top: 5px;
    box-sizing: border-box;
    border: 1px solid rgb(56, 56, 192);
    z-index: 5;
}

/* 防止被上面代码误伤（主要用于范围内的文字） */
a.no-change:hover {
    left: 0;
    top: 0;
    border: none;
}

#content {
    flex: 0 0 960px;
    max-width: 960px;
    display: flex;
    flex-direction: column;
}

#part-1 {
    width: 960px;
    height: 181px;
    position: relative;
    left: 0;
    top: 0;
    flex-shrink: 0;
}

#search-area {
    display: flex;
    flex-direction: column;
    width: 430px;
    height: 50px;
    position: relative;
    left: 50%;
    top: 30px;
    margin-left: -215px;
}

/* 搜索框样式2（购物车、结算页） */
.search-style-2 {
    margin-left: 45px !important;
    top: 40px !important;
}

#search {
    width: 430px;
    display: flex;
    flex: 0 0 30px;
}

.hot-search {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: space-around;
    line-height: 25px;
}

.hot-search .hot-search-cell:first-child a {
    color: #e33333;
}

.hot-search .hot-search-cell:last-child {
    flex: 0 0 60px;
    text-align: left;
}

.search {
    border: 0px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    padding: 2px 3px;
    height: 26px;
}

.search-box {
    flex: 1;
    border: 2px solid #c33333;
    box-sizing: border-box;
    height: 30px;
}

.go-search {
    width: 66px;
    height: 30px;
    background-color: #c33333;
    font-size: 16px;
    line-height: 20px;
    border-color: transparent;
    color: white;
}

#logo {
    width: 175px;
    height: 56px;
    position: relative;
    top: -20px;
    background: url("../../品优购项目/素材/images/logo.png") 0 0 no-repeat;
}

#cart {
    width: 120px;
    height: 30px;
    position: relative;
    left: 800px;
    background-color: #ecedee;
    border: 1px solid #c3c4c5;
    box-sizing: border-box;
    top: -76px;
    line-height: 30px;
}

#cart .iconfont {
    margin: 0 5px 0 6px;
    font-size: 14px;
}

#cart b.iconfont:first-child {
    color: #e33333;
}

#cart:not(:hover) b.iconfont:last-child {
    color: #999999;
}

#cart a {
    display: flex;
}

#cart a b:f {
    flex: 1;
}

#cart a span {
    flex: 0 0 55%;
}

i.cart-tip {
    display: inline-block;
    width: 16px;
    height: 16px;
    position: absolute;
    top: -10px;
    border-radius: 8px 8px 8px 0;
    background-color: #e33333;
    color: white;
    line-height: 15px;
    text-align: center;
}

.all-wares-title {
    width: 170px;
    height: 42px;
    background-color: #c33333;
    color: white;
    font-size: 15px;
    text-align: center;
    line-height: 45px;
}

.wares-row-list {
    width: 560px;
    height: 30px;
    position: relative;
    left: 200px;
    top: -37.5px;
    line-height: 30px;
    text-align: center;
    display: flex;
    justify-content: space-around;
    font-size: 14px;
}

.wares-cell {
    display: block;
    float: left;
    margin: 0 10px 0 5px;
}

.wares-cell:first-child {
    margin-left: -8px;
}

#part-2 {
    width: 920px;
    height: 520px;
    position: relative;
    top: 0px;
    left: 16px;
    
}

#part-2::before {
    content: "";
    display: block;
    height: 3px;
    width: 180vw;
    background-color: #c33333;
    position: absolute;
    left: -100vw;
    top: -3px;
}

#lb-content {
    display: flex;
    flex-direction: column;
    width: 960px;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -496px;
    height: 520px;
    min-width: 960px;
}

#part-2-up {
    flex: 0 0 350px;
    display: flex;
    flex-direction: row;
    max-height: 360px;
}

#part-2-down {
    flex: 1;
    background-color: #ecedee;
    margin-top: 5px;
    display: flex;
    flex-wrap: nowrap;
}

#web-wares-list {
    flex: 0 0 170px;
    background-color: #e33333;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: start;
    flex-wrap: nowrap;
}

#lb-area {
    flex: 0 0 560px;
    padding: 5px 5px 0 5px;
}

#lb-area-right {
    flex: 0 0 200px;
    align-self: flex-end;
}

.web-wares-list-cell {
    flex: 1;
    cursor: default;
    font-size: 12px;
    line-height: 23.34px;
}

.web-wares-list-cell:hover {
    color: #e33333;
    background-color: white;
}

.web-wares-list-cell a {
    color: white;
}

.web-wares-list-cell:hover a {
    color: #e33333;
}

.web-wares-list-cell:hover #list-rr {
    display: none;
}

#list-rr {
    font-size: 15px;
    display: block;
    float: right;
    font-weight: 300;
}

.lb-area-right-up {
    width: 220px;
    height: 290px;
    display: flex;
    flex-direction: column;
    border: 1px solid #ecedee;
    margin-top: 5px;
    margin-bottom: 5px;
    box-sizing: border-box;
    max-height: 290px;
    overflow: hidden;
}

.lb-area-right-down {
    width: 220px;
    height: 60px;
}

.lb-right-up-1 {
    width: 220px;
    height: 28px;
    font-size: 12px;
    border-bottom: 1px solid #ecedee;
}

.lb-right-up-2 {
    width: 220px;
    flex: 1px;
    display: flex;
    flex-direction: column;
    max-height: 110px;
    overflow: hidden;
}

.lb-right-up-3 {
    flex: 0 0 150px;
    display: grid;
    grid-template-rows: repeat(3, 50px);
    grid-template-columns: repeat(4, 25%);
}

.lb-tz {
    display: block;
    width: 100%;
    height: 100%;
    border-top: 1px solid #ecedee;
    border-right: 1px solid #ecedee;
    background-image: url(../../品优购项目/素材/images/icons.png);
}

span.kb {
    display: inline-block;
    margin-left: 5px;
    height: 29px;
    line-height: 29px;
    font-size: 13px;
    font-weight: 500;
    margin-left: 15px;
}

a.kb-more {
    display: block;
    height: 29px;
    float: right;
    line-height: 29px;
    font-size: 12px;
}

a.lb-content {
    flex: 1;
    width: 220px;
    font-size: 11px;
    font-weight: 300;
}

span.kb-little-title {
    font-weight: 800;
    font-size: 12px;
    margin: 0 5px 0 15px;
}

span.lb-tz-tip {
    display: inline-block;
    position: relative;
    top: 30px;
    text-align: center;
    width: 56px;
}

.huafei {
    background-position: -1px -12px;
}

.jipiao {
    background-position: -63px -12px;
}

.dianyingpiao {
    background-position: -125px -12px;
}

.youxi {
    background-position: -191px -12px;
}

.caipiao {
    background-position: -1px -85px;
}

.jiayouka {
    background-position: -63px -85px;
}

.jiudian {
    background-position: -125px -85px;
}

.huochepiao {
    background-position: -191px -85px;
}

.zhongchou {
    background-position: -1px -154px;
}

.licai {
    background-position: -63px -155px;
}

.lipinka {
    background-position: -125px -150px;
}

.baitiao {
    background-position: -191px -155px;
}

.lb-area-right-down a img {
    width: 220px;
    height: 60px;
}

.part-2-down-cell {
    flex: 0 0 20%;
    height: 155px;
    overflow: hidden;
}

.part-2-down-cell img {
    width: 200px;
    position: relative;
    top: 15px;
}

.part-2-down-cell:first-child img {
    top: 0;
}

.part-2-down-cell:first-child {
    background-color: rgb(92, 82, 81);
    flex: 0 0 19%;
}

/* 图片间的分隔线,放后面，父元素不能设text-aline! */
.fgx::after {
    content: "";
    width: 0;
    height: 80%;
    position: relative;
    top: 10%;
    display: inline-block;
    border: 0.5px solid #e1e2e3;
}

.fgx-2::after {
    content: "";
    width: 1px;
    background-color: #e1e2e3;
    height: 25%;
    position: relative;
    top: 70%;
    display: block;
    float: left;
    margin-right: 0.2px;
    left: -8px;
}

/* 悬浮导航（在此项目中不悬浮） */
.web-second-guide {
    position: absolute;
    left: 50%;
    margin-left: -545px;
    width: 60px;
    height: 286px;
    top: 340px;
    display: flex;
    flex-direction: column;
}

.web-second-guide-cell {
    flex: 1;
    width: 100%;
    border-bottom: 1px solid #e1e2e3;
    line-height: 26px;
    text-align: center;
}

.web-second-guide-cell a {
    width: 100%;
    height: 26px;
    display: block;
}

.web-second-guide-cell a:hover,
.web-second-guide:not(:hover) .web-second-guide-cell:first-child a {
    background-color: #e33333;
    color: white;
}

#part-3 {
    width: 960px;
    max-width: 960px;
    position: relative;
    left: 0;
    top: 20px;
}

#guess-you-love {
    width: 960px;
    height: 232px;
}

.guess-title {
    width: 960px;
    height: 30px;
    font-weight: 500;
    font-size: 16px;
}

.guess-change {
    float: right;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
}

.icon-size {
    font-weight: 300;
    font-size: 12px !important;
}

a:not(:hover) .icon-size {
    color: #666;
}

.iconfont.icon-size {
    margin: 0 20px 0 10px;
}

.guess-love-things {
    width: 960px;
    height: 200px;
    border: 1px solid #ecedee;
}

.guess-love-thing {
    display: block;
    float: left;
    box-sizing: border-box;
    width: 159px;
    height: 200px;
}

.guess-love-thing img {
    position: relative;
    top: 3px;
    width: 120px;
    left: 15px;
}

span[class|="js"] {
    display: block;
    font-size: 11px;
    margin-left: 8px;
}

span.js-1 {
    margin-top: 20px;
}

span.jq {
    font-size: 16px;
    color: #e33333;
    margin-left: 8px;
}

#cz-interesting {
    width: 960px;
    height: 330px;
    margin-top: 20px;
}

.cz-interesting-cell-box {
    width: 960px;
    box-sizing: border-box;
    border: 1px solid #e3e4e5;
    height: 300px;
    display: flex;
    flex-direction: row;
}

.cz-interesting-cell-box a {
    width: 100%;
    height: 100%;
    display: block;
}

.cz-part-1 {
    flex: 0 0 300px;
    border: 0.5px solid #e3e4e5;
    box-sizing: border-box;
    border-bottom: 1px;
}

.cz-part-2 {
    display: flex;
    flex-direction: column;
    flex: 0 0 170px;
}

.cz-part-3 {
    display: flex;
    flex-direction: column;
    flex: 0 0 300px;
    background-color: rgb(247, 247, 247);
}

.cz-part-4 {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(7, 1fr);
    border: 0.5px solid #e3e4e5;
    box-sizing: border-box;
    border-bottom: 1px;
}

.cz-interesting-title {
    flex: 0 0 29px;
    width: 100%;
    text-align: center;
    line-height: 29px;
}

.cz-interesting-title::after {
    content: "";
    display: block;
    width: 80%;
    height: 1px;
    background-color: #e3e4e5;
    position: relative;
    left: 10%;
}

.cz-2 {
    flex: 0 0 150px;
    border: 0.5px solid #e3e4e5;
    box-sizing: border-box;
    border-top: 0px;
}

.cz-3 {
    flex: 0 0 120px;
    box-sizing: border-box;
}

.cz-3 a {
    height: 119px;
    box-sizing: border-box;
    border-bottom: 1px solid #e3e4e5;
}

.cz-part-3-cell.cz-3 {
    display: flex;
}

.cz-part-3-cell.cz-3 a {
    flex: 1;
    border: 0.5px solid #e3e4e5;
    box-sizing: border-box;
}

.cz-part-4 a {
    border-bottom: 1px dashed #e3e4e5;
    box-sizing: border-box;
}

.cz-part-4 a:nth-child(2n) {
    border-left: 1px dashed #e3e4e5;
}

.cz-part-4 a:nth-of-type(13),
.cz-part-4 a:nth-of-type(14) {
    border-bottom: 0px;
}

.cz-part-4 img {
    width: 94px;
    height: 42.56px;
}

[class|="cz-part"] a {
    overflow: hidden;
}

.dianqi {
    margin-top: 20px;
}

.dianqi-t {
    box-sizing: border-box;
    border-bottom: 2px solid #e33333;
    color: #e33333;
    overflow: hidden;
}

.dianqi-list {
    height: 30px;
    display: block;
    width: 533px;
    float: right;
}

.dianqi-list-cell,
.dianqi-list-cell+b {
    display: block;
    float: right;
    color: #666;
}

.dianqi-list-cell {
    height: 30px;
}

.dianqi-list-cell a {
    height: 30px;
    font-size: 11px;
    display: block;
    line-height: 30px;
}

.dianqi-list:not(:hover) .dianqi-list-cell:last-child a {
    color: #E33333;
}

.dianqi-content {
    width: 960px;
    height: 300px;
    box-sizing: border-box;
    border: 1px solid #e3e4e5;
    display: flex;
}

[class|="dq-part"] {
    height: 300px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.dq-part-1 {
    flex: 0 0 200px;
    background-color: rgb(251, 251, 251);
}

.dq-part-2 {
    flex: 0 0 280px;
    overflow: hidden;
}

.dq-part-3 {
    flex: 1;
}

.dq-part-4 {
    flex: 1;
}

.dq-part-5 {
    flex: 1;
}

.dq-part-1-imge {
    display: block;
    width: 200px;
    height: 100%;
    flex: 0 0 230px;
    text-align: center;
}

.dq-part-1-imge img {
    display: inline-block;
}

.dq-part-1-list {
    flex: 1;
    display: flex;
    flex-direction: row;
}

.dq-part-1-list-cell {
    flex: 1;
    height: 23px;
    text-align: center;
    line-height: 23px;
}

.dq-part-1-list-cell::after {
    content: "";
    display: block;
    height: 0;
    width: 80%;
    position: relative;
    left: 10%;
    outline: 0.5px solid #e3e4e5;
}

.dq-lb {
    width: 1200px;
    height: 300px;
    animation: dqlb 15s ease infinite;
    margin-left: 0px;
}

@keyframes dqlb {

    0%,
    20% {
        margin-left: 0;
    }

    25%,
    55% {
        margin-left: -280px;
    }

    60%,
    90% {
        margin-left: -560px;
    }

    95%,
    100% {
        margin-left: -840px;
    }
}

.dq-lb-imge {
    display: block;
    float: left;
}

div.dq-lb-btn {
    position: absolute;
    width: 50px;
    display: flex;
    justify-content: space-between;
    left: 310px;
    top: 910px;
    height: 12px;
    z-index: 10;
}

[class|="dq-lb-btn-cell"] {
    width: 10px;
    height: 10px;
    background-color: #333333;
    border-radius: 5px;
    overflow: hidden;
    outline: none;
    border: none;
}

.dq-lb-btn-cell-1 {
    animation: dqbtn1 ease 15s infinite;
}

.dq-lb-btn-cell-2 {
    animation: dqbtn2 ease 15s infinite;
}

.dq-lb-btn-cell-3 {
    animation: dqbtn3 ease 15s infinite;
}

@keyframes dqbtn1 {

    0%,
    20% {
        background-color: #f2f3f4;
    }

    25%,
    55% {
        background-color: #333;
    }

    60%,
    90% {
        background-color: #333;
    }

    95%,
    100% {
        background-color: #f2f3f4;
    }
}

@keyframes dqbtn2 {

    0%,
    20% {
        background-color: #333;
    }

    25%,
    55% {
        background-color: #f2f3f4;
    }

    60%,
    90% {
        background-color: #333;
    }

    95%,
    100% {
        background-color: #333;
    }
}

@keyframes dqbtn3 {

    0%,
    20% {
        background-color: #333;
    }

    25%,
    55% {
        background-color: #333;
    }

    60%,
    90% {
        background-color: #fff;
    }

    95%,
    100% {
        background-color: #333;
    }
}

.dq-part-3 a {
    flex: 1;
    box-sizing: border-box;
    border-bottom: 1px solid #e3e4e5;
    border-right: 1px solid #e3e4e5;
}

.dq-part-5 a {
    flex: 1;
    box-sizing: border-box;
    border-bottom: 1px solid #e3e4e5;
}

.dq-part-3-img,
.dq-part-5-img {
    width: 100%;
    height: 150px;
}

.dq-part-4 img {
    width: 100%;
    height: 300px;
}

.dq-part-4 a {
    box-sizing: border-box;
    border-bottom: 1px solid #e3e4e5;
    border-right: 1px solid #e3e4e5;
}

.dianqi-others {
    width: 960px;
    height: 36px;
    box-sizing: border-box;
    border: 1px solid #e3e4e5;
    position: relative;
    top: 20px;
    display: flex;
}

.dq-other,
.dq-other img {
    width: 100%;
    height: 36px;
    flex: 1;
    display: flex;
}

.xuxian::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 60%;
    margin-top: 10%;
    outline: 1px dashed #c3c4c5;
}

.mobile {
    margin-top: 40px;
}

.dq-lb-btn.mobile-btn {
    top: 1310px;
}

/* logo旁 */
.logo-other {
    width: 100px;
    height: 50px;
    position: relative;
    left: 200px;
    top: -72px;
    font-size: 20px;
    line-height: 35px;
}